package com.ruoyi.project.cms.pro.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ruoyi.project.cms.pro.mapper.CmsProProcessMapper;
import com.ruoyi.project.cms.pro.domain.CmsProProcess;
import com.ruoyi.project.cms.pro.service.CmsProProcessService;

@Service
public class CmsProProcessServiceImpl implements CmsProProcessService {

    @Resource
    private CmsProProcessMapper cmsProProcessMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return cmsProProcessMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(CmsProProcess record) {
        return cmsProProcessMapper.insert(record);
    }

    @Override
    public int insertSelective(CmsProProcess record) {
        return cmsProProcessMapper.insertSelective(record);
    }

    @Override
    public CmsProProcess selectByPrimaryKey(Integer id) {
        return cmsProProcessMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(CmsProProcess record) {
        return cmsProProcessMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CmsProProcess record) {
        return cmsProProcessMapper.updateByPrimaryKey(record);
    }

}

